#include "Sprites.h"

Sprites::Sprites()
{
}

Sprites::~Sprites()
{
}

std::vector<Sprite>& Sprites::GetSprites()
{
	return (m_sprites);
}

Sprite const* Sprites::Find(std::string const& _name)
{
	int max = m_sprites.size();
	for (int i = 0; i < max; i++)
		if (m_sprites[i].Name == _name)
			return (&m_sprites[i]);
	return (NULL);
}
